<?php echo '<ul class="child_category">';
foreach ($categories[$_parent] as $key => $category) : ?>
	<li>
		<span class="btn plus <?php //echo empty($category->items) ? 'minus-disable' : 'plus'; ?>"></span><span class="icon icon-folder"></span><a href=""><?php echo $category->name; ?></a>
		<?php Category($key, $categories); ?>
		<?php if($category->items) : ?>
			<ul class="child_category sitemap-level-3">
				<?php foreach ($category->items as $key_items => $item) : ?>
					<li><span class="btn minus-disable"></span><span class="icon icon-file"></span><a href="<?php echo Yii::app()->createUrl('content/update',array('id'=>$item->id)); ?>"><?php echo CHtml::encode($item->name); ?></a></li>
				<?php endforeach ?>
			</ul>
		<?php endif ?>
	</li>
<?php endforeach ?>
<?php echo '</ul>';